package com.luntsevich.topten;

import java.util.ArrayList;
import java.util.List;

public class TopTen {
	@SuppressWarnings({ "rawtypes", "unchecked" })
	public static List getTopN(int i, List list) {
		List returnThis = new ArrayList();
		for (int j = 0; j < i; j++) {
			returnThis.add(list.get(j));
		}
		return returnThis;
	}

}
